package com.anne.fish.service.impl;

import com.anne.fish.dao.CreditDao;
import com.anne.fish.model.Credit;
import com.anne.fish.service.CreditManager;
import com.anne.fish.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("creditManager")
@WebService(serviceName = "CreditService", endpointInterface = "com.anne.fish.service.CreditManager")
public class CreditManagerImpl extends GenericManagerImpl<Credit, Long> implements CreditManager {
    CreditDao creditDao;

    @Autowired
    public CreditManagerImpl(CreditDao creditDao) {
        super(creditDao);
        this.creditDao = creditDao;
    }
}